const throwIfMissing = (para) => {
    throw new Error(`Missing param => ${para}`);
}

const regTel = (tel) => {
    /*验证手机号码正确性， 1开头11位数字*/
    if (/^1\d{10}$/.test(Number(tel))) {
        return true
    } else {
        return false
    }



}

export {
    regTel,
}